package com.xpec.c4.db.model.basic;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import com.xpec.c4.db.model.log.basic.BasicLogModel;

@MappedSuperclass
public class SlotJPBasicModelLog extends BasicLogModel{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1434089696152656742L;
	
	/**
	 * 遊戲館類別
	 * 
	 * @see define by game
	 */
	private String halltype;
	
	/**
	 * 幣值比
	 */
	private BigDecimal gainRate = BigDecimal.ONE;
	
	/**
	 * 隱藏jp金額
	 */
	private BigDecimal hjp;
	
	/**
	 * 隱藏jp歷史總累積金額
	 */
	private BigDecimal hjpall;
	
	/**
	 * hjp 本次抽水金額
	 */
	private BigDecimal hjpbetdraw;
	
	/**
	 * hjp 遺失金額(所有HJP類型總和)
	 */
	private BigDecimal hjplost;
	
	/**
	 * hjp 總遺失金額
	 */
	private BigDecimal hjplosttotal;
	
	/**
	 * jackpot 
	 */
	private BigDecimal jpvalue1;
	
	/**
	 * jackpot 抽水
	 */
	private BigDecimal jpdraw1;
	
	
	/**
	 * jackpot 歷史累積
	 */
	private BigDecimal jpall1;
	
	/**
	 * jp隨機數
	 */
	private BigDecimal jprand1;
	
	/**
	 * jp 本次抽水金額
	 */
	private BigDecimal jpbetdraw1;
	
	/**
	 * jp狀態
	 */
	private int jpstat;
	
	/**
	 * jp 分數
	 */
	private BigDecimal score;
	
	/**
	 * 押注次數
	 */
	private int betcount;
	
	/**
	 * 押注金額
	 */
	private int betmoney;
	
	
	/**
	 * 玩家唯一碼
	 */
	private String guid;
	
	/**
	 * 玩家匿稱
	 */
	private String nickname;
	
	/**
	 * 機台號碼
	 */
	private int machineid;
	
	/**
	 * 小樂或玩家
	 */
	private int usertype;
	
	/**
	 * 訂單編號
	 */
	private String orderid;
	
	/**
	 * 營運商 id
	 */
	private String venderId;
	
	/**
	 * 子營運商 id
	 */
	private String subVenderId;
	
	public String getOrderid() {
		return orderid;
	}

	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}

	public String getHalltype() {
		return halltype;
	}

	public void setHalltype(String halltype) {
		this.halltype = halltype;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getHjp() {
		return hjp;
	}

	public void setHjp(BigDecimal hjp) {
		this.hjp = hjp;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getHjpall() {
		return hjpall;
	}

	public void setHjpall(BigDecimal hjpall) {
		this.hjpall = hjpall;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJpvalue1() {
		return jpvalue1;
	}

	public void setJpvalue1(BigDecimal jpvalue1) {
		this.jpvalue1 = jpvalue1;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJpdraw1() {
		return jpdraw1;
	}

	public void setJpdraw1(BigDecimal jpdraw1) {
		this.jpdraw1 = jpdraw1;
	}
	
	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getHjplost() {
		return hjplost;
	}

	public void setHjplost(BigDecimal hjplost) {
		this.hjplost = hjplost;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getHjplosttotal() {
		return hjplosttotal;
	}

	public void setHjplosttotal(BigDecimal hjplosttotal) {
		this.hjplosttotal = hjplosttotal;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJpall1() {
		return jpall1;
	}

	public void setJpall1(BigDecimal jpall1) {
		this.jpall1 = jpall1;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJprand1() {
		return jprand1;
	}

	public void setJprand1(BigDecimal jprand1) {
		this.jprand1 = jprand1;
	}

	

	
	public int getJpstat() {
		return jpstat;
	}

	public void setJpstat(int jpstat) {
		this.jpstat = jpstat;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getScore() {
		return score;
	}

	public void setScore(BigDecimal score) {
		this.score = score;
	}
	
	public int getBetcount() {
		return betcount;
	}

	public void setBetcount(int betcount) {
		this.betcount = betcount;
	}

	public int getBetmoney() {
		return betmoney;
	}

	public void setBetmoney(int betmoney) {
		this.betmoney = betmoney;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJpbetdraw1() {
		return jpbetdraw1;
	}
	
	public void setJpbetdraw1(BigDecimal draw) {
		jpbetdraw1 = draw;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getHjpbetdraw() {
		return hjpbetdraw;
	}

	public void setHjpbetdraw(BigDecimal hjpbetdraw) {
		this.hjpbetdraw = hjpbetdraw;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public int getMachineid() {
		return machineid;
	}

	public void setMachineid(int machineid) {
		this.machineid = machineid;
	}

	public int getUsertype() {
		return usertype;
	}

	public void setUsertype(int usertype) {
		this.usertype = usertype;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 1.0")
	public BigDecimal getGainRate() {
		return gainRate;
	}

	public void setGainRate(BigDecimal gainRate) {
		this.gainRate = gainRate;
	}
	
	@Column(columnDefinition="VARCHAR(50) NOT NULL default 'TONWA'")
	public String getVenderId() {
		return venderId;
	}

	public void setVenderId(String venderId) {
		this.venderId = venderId;
	}

	@Column(columnDefinition="VARCHAR(50) NOT NULL default 'TONWA'")
	public String getSubVenderId() {
		return subVenderId;
	}

	public void setSubVenderId(String subVenderId) {
		this.subVenderId = subVenderId;
	}
}
